import datetime
from applications.extensions import db


class Memberrole(db.Model):
    __tablename__ = 'admin_member_role'
    id = db.Column(db.Integer, primary_key=True, comment='角色组ID')
    rolename = db.Column(db.String(255), comment='角色组名称')
    details = db.Column(db.String(255), comment='备注')
    sort = db.Column(db.Integer, comment='排序')
    create_time = db.Column(db.DateTime, default="", comment='添加时间')
    update_time = db.Column(db.DateTime, default="", comment='更新时间')
